<?php
/**
 * Created by: zhaoyi (834574377@qq.com)
 * Time: 2023/1/4 10:29
 * Blog: https://www.yuque.com/huangzhenlian
 */

declare(strict_types=1);

namespace App\Application\Admin\Controller\RequestParam;

use App\Annotation\RequestParam;
use App\Controller\RequestParam\BaseRequestParam;

#[RequestParam]
class MeituanSubmitRequestParam extends BaseRequestParam
{
    protected array $rules = [
        'appkey' => 'required',
        'secret' => 'required',
        'shop_id' => 'required',
        'store_id' => 'required',

    ];
    protected array $message = [

        'appkey.required' => '请提交应用KEY',
        'secret.required' => '请提交应用秘钥',
        'shop_id.required' => '请提交美团门店ID',


    ];
    private int $meituan_id = 0;
    private string $appkey = '';
    private string $secret = '';
    private array $shop_id = [];
    private int $store_id = 0;
    /**
     * @return int
     */
    public function getMeituanId(): int
    {
        return $this->meituan_id;
    }
    public function getStoreID(): int
    {
        return $this->store_id;
    }
    /**
     * @return string
     */

}